package com.xiaomi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Zhifujilu {
    private int id;
    private String zhifufangshi;
    private String qian;
    private int dingdankuaizhaoid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date shijian;
    public Zhifujilu() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getZhifufangshi() {
        return zhifufangshi;
    }

    public void setZhifufangshi(String zhifufangshi) {
        this.zhifufangshi = zhifufangshi;
    }

    public String getQian() {
        return qian;
    }

    public void setQian(String qian) {
        this.qian = qian;
    }

    public int getDingdankuaizhaoid() {
        return dingdankuaizhaoid;
    }

    public void setDingdankuaizhaoid(int dingdankuaizhaoid) {
        this.dingdankuaizhaoid = dingdankuaizhaoid;
    }

    public Date getShijian() {
        return shijian;
    }

    public void setShijian(Date shijian) {
        this.shijian = shijian;
    }

    @Override
    public String toString() {
        return "Zhifujilu{" +
                "id=" + id +
                ", zhifufangshi='" + zhifufangshi + '\'' +
                ", qian='" + qian + '\'' +
                ", dingdankuaizhaoid=" + dingdankuaizhaoid +
                ", shijian=" + shijian +
                '}';
    }
}
